package com.salesmanager.core.business.product.service;

import com.salesmanager.core.business.generic.exception.ServiceException;
import com.salesmanager.core.business.generic.service.SalesManagerEntityService;
import com.salesmanager.core.business.product.Product;
import com.salesmanager.core.business.statistics.model.ProductCriteria;
import com.salesmanager.web.model.paging.PaginationDataList;

/**
 * Created by LiuTong on 2017/11/21.
 */
public interface ProductService extends SalesManagerEntityService<Long, Product> {

    PaginationDataList<Product> getProductList(ProductCriteria criteria);

    void saveOrUpdate(Product product) throws ServiceException;
}
